Builder
Power Config\
See [Power Config](/docs/settings/config/power) for additional power config details.
Content copied to clipboard
meshtastic.Config.PowerConfig
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Ratio of voltage divider for battery pin eg. 3.20 (R1=100k, R2=220k)
Overrides the ADC_MULTIPLIER defined in variant for battery voltage calculation.
https://meshtastic.org/docs/configuration/radio/power/#adc-multiplier-override
Should be set to floating point value between 2 and 6
Content copied to clipboard
float adc_multiplier_override = 3;
Link copied to clipboard
I2C address of INA_2XX to use for reading device battery voltage
Content copied to clipboard
uint32 device_battery_ina_address = 9;
Link copied to clipboard
Description: Will sleep everything as much as possible, for the tracker and sensor role this will also include the lora radio.
Don't use this setting if you want to use your device with the phone apps or are using a device without a user button.
Technical Details: Works for ESP32 devices and NRF52 devices in the Sensor or Tracker roles
Content copied to clipboard
bool is_power_saving = 1;
Link copied to clipboard
Description: In light sleep the CPU is suspended, LoRa radio is on, BLE is off an GPS is on
Technical Details: ESP32 Only 0 for default of 300
Content copied to clipboard
uint32 ls_secs = 7;
Link copied to clipboard
Description: While in light sleep when we receive packets on the LoRa radio we will wake and handle them and stay awake in no BLE mode for this value
Technical Details: ESP32 Only 0 for default of 10 seconds
Content copied to clipboard
uint32 min_wake_secs = 8;
Link copied to clipboard
Description: If non-zero, the device will fully power off this many seconds after external power is removed.
Content copied to clipboard
uint32 on_battery_shutdown_after_secs = 2;
Link copied to clipboard
If non-zero, we want powermon log outputs. With the particular (bitfield) sources enabled.
Note: we picked an ID of 32 so that lower more efficient IDs can be used for more frequently used options.
Content copied to clipboard
uint64 powermon_enables = 32;
Link copied to clipboard
Super Deep Sleep Seconds
While in Light Sleep if mesh_sds_timeout_secs is exceeded we will lower into super deep sleep
for this value (default 1 year) or a button press
0 for default of one year
Content copied to clipboard
uint32 sds_secs = 6;
Link copied to clipboard
Description: The number of seconds for to wait before turning off BLE in No Bluetooth states
Technical Details: ESP32 Only 0 for default of 1 minute
Content copied to clipboard
uint32 wait_bluetooth_secs = 4;
Link copied to clipboard
Ratio of voltage divider for battery pin eg. 3.20 (R1=100k, R2=220k)
Overrides the ADC_MULTIPLIER defined in variant for battery voltage calculation.
https://meshtastic.org/docs/configuration/radio/power/#adc-multiplier-override
Should be set to floating point value between 2 and 6
Content copied to clipboard
float adc_multiplier_override = 3;
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
I2C address of INA_2XX to use for reading device battery voltage
Content copied to clipboard
uint32 device_battery_ina_address = 9;
Link copied to clipboard
Description: Will sleep everything as much as possible, for the tracker and sensor role this will also include the lora radio.
Don't use this setting if you want to use your device with the phone apps or are using a device without a user button.
Technical Details: Works for ESP32 devices and NRF52 devices in the Sensor or Tracker roles
Content copied to clipboard
bool is_power_saving = 1;
Link copied to clipboard
Description: While in light sleep when we receive packets on the LoRa radio we will wake and handle them and stay awake in no BLE mode for this value
Technical Details: ESP32 Only 0 for default of 10 seconds
Content copied to clipboard
uint32 min_wake_secs = 8;
Link copied to clipboard
Description: If non-zero, the device will fully power off this many seconds after external power is removed.
Content copied to clipboard
uint32 on_battery_shutdown_after_secs = 2;
Link copied to clipboard
If non-zero, we want powermon log outputs. With the particular (bitfield) sources enabled.
Note: we picked an ID of 32 so that lower more efficient IDs can be used for more frequently used options.
Content copied to clipboard
uint64 powermon_enables = 32;
Link copied to clipboard
Super Deep Sleep Seconds
While in Light Sleep if mesh_sds_timeout_secs is exceeded we will lower into super deep sleep
for this value (default 1 year) or a button press
0 for default of one year
Content copied to clipboard
uint32 sds_secs = 6;
Link copied to clipboard
Description: The number of seconds for to wait before turning off BLE in No Bluetooth states
Technical Details: ESP32 Only 0 for default of 1 minute
Content copied to clipboard
uint32 wait_bluetooth_secs = 4;
Link copied to clipboard
Link copied to clipboard
open fun mergeFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): ConfigProtos.Config.PowerConfig.Builder
Link copied to clipboard
Ratio of voltage divider for battery pin eg. 3.20 (R1=100k, R2=220k)
Overrides the ADC_MULTIPLIER defined in variant for battery voltage calculation.
https://meshtastic.org/docs/configuration/radio/power/#adc-multiplier-override
Should be set to floating point value between 2 and 6
Content copied to clipboard
float adc_multiplier_override = 3;
Link copied to clipboard
I2C address of INA_2XX to use for reading device battery voltage
Content copied to clipboard
uint32 device_battery_ina_address = 9;
Link copied to clipboard
Description: Will sleep everything as much as possible, for the tracker and sensor role this will also include the lora radio.
Don't use this setting if you want to use your device with the phone apps or are using a device without a user button.
Technical Details: Works for ESP32 devices and NRF52 devices in the Sensor or Tracker roles
Content copied to clipboard
bool is_power_saving = 1;
Link copied to clipboard
Description: In light sleep the CPU is suspended, LoRa radio is on, BLE is off an GPS is on
Technical Details: ESP32 Only 0 for default of 300
Content copied to clipboard
uint32 ls_secs = 7;
Link copied to clipboard
Description: While in light sleep when we receive packets on the LoRa radio we will wake and handle them and stay awake in no BLE mode for this value
Technical Details: ESP32 Only 0 for default of 10 seconds
Content copied to clipboard
uint32 min_wake_secs = 8;
Link copied to clipboard
Description: If non-zero, the device will fully power off this many seconds after external power is removed.
Content copied to clipboard
uint32 on_battery_shutdown_after_secs = 2;
Link copied to clipboard
If non-zero, we want powermon log outputs. With the particular (bitfield) sources enabled.
Note: we picked an ID of 32 so that lower more efficient IDs can be used for more frequently used options.
Content copied to clipboard
uint64 powermon_enables = 32;
Link copied to clipboard
Super Deep Sleep Seconds
While in Light Sleep if mesh_sds_timeout_secs is exceeded we will lower into super deep sleep
for this value (default 1 year) or a button press
0 for default of one year
Content copied to clipboard
uint32 sds_secs = 6;
Link copied to clipboard
Description: The number of seconds for to wait before turning off BLE in No Bluetooth states
Technical Details: ESP32 Only 0 for default of 1 minute
Content copied to clipboard
uint32 wait_bluetooth_secs = 4;